<!DOCTYPE HTML>
<html lang="en">

<head>
	<meta charset="UTF-8">
	<title></title>

	<script type="text/javascript" src="kindeditor/kindeditor-all.js"></script>
	<!-- <script type="text/javascript" src="kindeditor/lang/zh-CN.js"></script> -->
</head>

<body>
	<div class="container">
		<textarea name="content" style="width:800px;height:300px;"></textarea>
	</div>
	<style>
		form {
			margin: 0;
		}

		textarea {
			display: block;
		}

		.ke-icon-fontcolor {
			background-image: url(./kindeditor/themes/default/default.png);
			background-position: 0px -384px;
			width: 20px;
			height: 16px;
		}

		.ke-icon-fillcolor {
			background-image: url(./kindeditor/themes/default/default.png);
			background-position: 0px -400px;
			width: 23px;
			height: 16px;
		}
	</style>
	<script>
		KindEditor.ready(function (K) {
			K.create('textarea[name="content"]', {
				allowFileManager: true,
				afterCreate: function () {
					this.loadPlugin('autoheight');
				}
			});
		});
	</script>
</body>

</html>